<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http:dream/cust_tag.tld" prefix="cust"%>
<%
	request.setAttribute("path", request.getContextPath());
%>
<div id="sidebar">
<ul>
   
   <cust:when authority="user_list">
   <li class="submenu"> 
		<a href="#"><i class="icon icon-user"></i> <span>用户管理</span></a>
 		<ul>
 			<li id="n01">
				<a href="${root}/view/page?loc=user_list&h=h02&n=n01"> 
					<i class="icon icon-th-list"></i><span >&nbsp;账户列表</span>
				</a>
			</li>
			<li id="n02">
				<a href="${root}/app/user/init?h=h02&n=n02">
					<i class="icon icon-plus-sign"></i><span>&nbsp;添加账户</span>
				</a>
			</li>
 		</ul>
 	</li>
 	</cust:when>
 	<cust:when authority="group_list">
   <li class="submenu"> 
		<a href="#"><i class="icon icon-lock"></i> <span>角色管理</span></a>
 		<ul>
			<li id="n05">
				<a href="${root}/view/page?loc=group_list&h=h02&n=n05"> 
					<i class="icon icon-th-list"></i><span >&nbsp;角色列表</span>
				</a>
			</li>
			<li id="n06">
				<a  href="${root}/app/group/init?h=h02&n=n06"> 
					<i class="icon icon-plus-sign"></i><span >&nbsp;添加角色</span>
				</a>
			</li>
 		</ul>
 	</li>
 	</cust:when>
   <li class="submenu"> 
		<a href="#"><i class="icon icon-cog"></i> <span>个人设置</span></a>
 		<ul>
 			<li id="n03">
				<a href="${root}/view/token/page?loc=user_chg_pwd&h=h02&n=n03">
					<i class="icon icon-edit"></i><span >&nbsp;密码修改</span>
				</a>
			</li>
			<li id="n04">
				<a href="${root}/app/user/setting/${userMe.id}?h=h02&n=n04">
					<i class="icon icon-edit"></i><span>&nbsp;个人信息</span>
				</a>
			</li> 
 		</ul>
 	</li>
 	<cust:when authority="code_list">
   <li class="submenu"> 
		<a href="#"><i class="icon icon-wrench"></i> <span>系统参数</span></a>
 		<ul>
			<li id="n07">
				<a href="${root}/view/page?loc=code_list&h=h02&n=n07">
					<i class="icon icon-edit"></i><span >&nbsp;系统参数</span>
				</a>
			</li>
			<li id="n09">
				<a href="${root}/view/page?loc=position_list&h=h02&n=n09"> 
					<i class="icon icon-edit"></i><span>&nbsp;职位信息</span>
				</a>
			</li>
 		</ul>
 	</li>
 	</cust:when>
 </ul>
 </div>
 
